<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>

<s:errors/>


<table>
    <tr>
        <th><s:label for="b1" name="lecture.name"/></th>
        <td><s:text id="b1" name="lectureDTO.name" /></td>
    </tr>
    <tr>
        <th><s:label for="b2" name="lecture.roomNumber"/></th>
        <td><s:text id="b2" name="lectureDTO.roomNumber" /></td>
    </tr>
    <tr>
        <th><s:label for="b3" name="lecture.startTime"/></th>
       <!-- <td><s:text id="b3" name="lectureDTO.startTimeString" formatPattern="MM/dd/yyyy H:mm" /></td>-->
        <td><s:text id="b3" name="startString"  /><it>(yyyy-MM-dd H:mm)</it></td>
    </tr>
    <tr>
        <th><s:label for="b4" name="lecture.endTime"/></th>
        <!-- <td><s:text id="b3" name="lectureDTO.endTimeString" formatPattern="MM/dd/yyyy H:mm" /></td>-->
        <td><s:text id="b4" name="endString"/><it>(yyyy-MM-dd H:mm)</it></td>
    </tr>
    <tr>
        <th><s:label for="b5" name="Lector"/></th>
        <td>
            <s:select id="b5" name="lectorId">
                <s:options-collection collection="${actionBean.lectors}" value="id" label="fullName"/>
            </s:select>
        </td>
    </tr>
    <tr>
        <th><s:label for="b6" name="Course"/></th>
        <td>
            <s:select id="b6" name="courseId">
                <s:options-collection collection="${actionBean.courses}" value="id" label="name"/>
            </s:select>
        </td>
    </tr> 
</table>